// NOTE: EFFECTIVELY A GENERATED FILE!!
/*
   To "build" this file:
     1. Edit the alert-mockup.xhtml file and remove onload="_bb_toast_show()"
        from the <body> tag.
     2. Open the alert-mockup.xhtml file in Firefox.
     3. Enter javascript:html2js() into the Location bar in Firefox.
     4. On the window/tab that comes up, copy the page contents and paste
        them into this file below this comment.
     5. Remove the final line of what was pasted (the part which appends
         _bb_toast to document.body.

   After taking the above steps, opening alert-result.html in Firefox
   show result in showing a page with the same functionality as
   alert-mockup.xhtml.

*/

var _bb_toast = document.createElement('div');
with (_bb_toast) {

    id = '_bb_toast';
    with (style) {

        overflow = 'hidden';
        fontFamily = 'lucida grande,tahoma,verdana,arial,sans-serif';
        fontSize = '11px';
        position = 'absolute';
        bottom = '0px';
        left = '20px';
        paddingTop = '0px';
        height = '0px';

    }

    var div0 = document.createElement('div');
    with (div0) {

        with (style) {

            borderStyle = 'solid solid none';
            borderColor = 'rgb(112, 72, 32) rgb(112, 72, 32) -moz-use-text-color';
            borderWidth = '1px 1px medium';
            padding = '4px';
            position = 'absolute';
            right = '0px';
            height = '15px';
            clear = 'both';
            marginTop = '-12px';
            marginRight = '12px';
            color = 'white';
            backgroundColor = 'rgb(197, 102, 75)';
            zIndex = '2';

        }

        var a0 = document.createElement('a');
        with (a0) {

            href = '#';
            style.color = 'white';
            appendChild(document.createTextNode('Close'));

        }

        appendChild(a0);

    }

    appendChild(div0);
    var div1 = document.createElement('div');
    with (div1) {

        with (style) {

            border = '5px solid rgb(117, 69, 69)';
            MozBorderRadiusTopleft = '12px';
            MozBorderRadiusTopright = '12px';
            MozBorderRadiusBottomleft = '0pt';
            MozBorderRadiusBottomright = '0pt';
            backgroundColor = 'rgb(117, 69, 69)';
            width = '320px';
            height = '175px';
            opacity = '0.35';
            marginTop = '0px';

        }


    }

    appendChild(div1);
    var div2 = document.createElement('div');
    with (div2) {

        with (style) {

            margin = '11px 11px 0px';
            position = 'absolute';
            top = '0pt';
            opacity = '1';
            paddingTop = '12px';
            color = 'white';

        }

        var div3 = document.createElement('div');
        with (div3) {

            with (style) {

                borderStyle = 'solid solid none';
                borderColor = 'rgb(112, 72, 32) rgb(112, 72, 32) -moz-use-text-color';
                borderWidth = '1px 1px medium';
                width = '305px';

            }

            var div4 = document.createElement('div');
            with (div4) {

                with (style) {

                    padding = '6px';
                    backgroundColor = 'rgb(197, 102, 75)';
                    height = '15px';

                }

                var span0 = document.createElement('span');
                with (span0) {

                    style.color = 'rgb(51, 51, 51)';
                    appendChild(document.createTextNode('Beacon'));

                }

                appendChild(span0);
                var span1 = document.createElement('span');
                with (span1) {

                    style.color = 'rgb(153, 0, 0)';
                    appendChild(document.createTextNode('Blocker'));

                }

                appendChild(span1);
                appendChild(document.createTextNode(' Warning: Facebook Beacon Detected'));

            }

            appendChild(div4);
            var div5 = document.createElement('div');
            with (div5) {

                with (style) {

                    borderTop = '2px solid rgb(197, 102, 75)';
                    padding = '6px';
                    backgroundColor = 'white';
                    color = 'black';
                    height = '132px';

                }

                var div6 = document.createElement('div');
                with (div6) {

                    var div7 = document.createElement('div');
                    with (div7) {

                        with (style) {

                            margin = '4px';
                            width = '16px';
                            paddingTop = '4px';
                            cssFloat = 'left';

                        }

                        var img0 = document.createElement('img');
                        with (img0) {

                            src = 'http://static.ak.facebook.com/images/icons/beacon.gif';

                        }

                        appendChild(img0);

                    }

                    appendChild(div7);
                    var div8 = document.createElement('div');
                    with (div8) {

                        with (style) {

                            cssFloat = 'right';
                            width = '260px';

                        }

                        var div9 = document.createElement('div');
                        with (div9) {

                            appendChild(document.createTextNode('This web site appears to be using Facebook Beacon. Facebook Beacon is currently being '));
                            var b0 = document.createElement('b');
                            with (b0) {

                                var span2 = document.createElement('span');
                                with (span2) {

                                    style.color = 'green';
                                    appendChild(document.createTextNode('allowed'));

                                }

                                appendChild(span2);

                            }

                            appendChild(b0);
                            appendChild(document.createTextNode(' for this site. ('));
                            var a1 = document.createElement('a');
                            with (a1) {

                                href = '#';
                                appendChild(document.createTextNode('Learn more'));

                            }

                            appendChild(a1);
                            appendChild(document.createTextNode('.)'));

                        }

                        appendChild(div9);

                    }

                    appendChild(div8);

                }

                appendChild(div6);
                var div10 = document.createElement('div');
                with (div10) {

                    style.clear = 'both';

                }

                appendChild(div10);
                var div11 = document.createElement('div');
                with (div11) {

                    with (style) {

                        marginTop = '10px';
                        marginLeft = '15px';

                    }

                    appendChild(document.createTextNode(' Actions: '));
                    var div12 = document.createElement('div');
                    with (div12) {

                        with (style) {

                            marginTop = '-5px';
                            marginLeft = '-5px';

                        }

                        var ul0 = document.createElement('ul');
                        with (ul0) {

                            style.listStyleType = 'square';
                            var li0 = document.createElement('li');
                            with (li0) {

                                style.marginBottom = '5px';
                                appendChild(document.createTextNode('Block Facebook Beacon for '));
                                var a2 = document.createElement('a');
                                with (a2) {

                                    href = '#';
                                    appendChild(document.createTextNode('this site'));

                                }

                                appendChild(a2);
                                appendChild(document.createTextNode(' / '));
                                var a3 = document.createElement('a');
                                with (a3) {

                                    href = '#';
                                    appendChild(document.createTextNode('all sites'));

                                }

                                appendChild(a3);

                            }

                            appendChild(li0);
                            var li1 = document.createElement('li');
                            with (li1) {

                                style.marginBottom = '5px';
                                appendChild(document.createTextNode(' Stop warning me about Facebook Beacon for '));
                                var br0 = document.createElement('br');
                                appendChild(br0);
                                var a4 = document.createElement('a');
                                with (a4) {

                                    href = '#';
                                    appendChild(document.createTextNode('this site'));

                                }

                                appendChild(a4);
                                appendChild(document.createTextNode(' / '));
                                var a5 = document.createElement('a');
                                with (a5) {

                                    href = '#';
                                    appendChild(document.createTextNode('all sites'));

                                }

                                appendChild(a5);
                                var br1 = document.createElement('br');
                                appendChild(br1);

                            }

                            appendChild(li1);
                            var li2 = document.createElement('li');
                            with (li2) {

                                appendChild(document.createTextNode('View '));
                                var span3 = document.createElement('span');
                                with (span3) {

                                    style.color = 'rgb(51, 51, 51)';
                                    appendChild(document.createTextNode('Beacon'));

                                }

                                appendChild(span3);
                                var span4 = document.createElement('span');
                                with (span4) {

                                    style.color = 'rgb(153, 0, 0)';
                                    appendChild(document.createTextNode('Blocker'));

                                }

                                appendChild(span4);
                                var a6 = document.createElement('a');
                                with (a6) {

                                    href = '#';
                                    appendChild(document.createTextNode('preferences'));

                                }

                                appendChild(a6);

                            }

                            appendChild(li2);

                        }

                        appendChild(ul0);

                    }

                    appendChild(div12);

                }

                appendChild(div11);

            }

            appendChild(div5);

        }

        appendChild(div3);

    }

    appendChild(div2);

}
